package com.wordplat.quickstart.xutils;

import ohos.aafwk.ability.AbilitySlice;
import ohos.agp.components.Component;

/**
 * Created by wyouflf on 15/10/29.
 * view注入接口
 *
 * @since 2021-05-09
 */
public interface ViewInjector {
    /**
     * inject
     *
     * @param view
     */
    void inject(Component view);
    /**
     * inject
     *
     * @param activity
     */
    void inject(AbilitySlice activity);
    /**
     * inject
     *
     * @param handler
     * @param view
     */
    void inject(Object handler, Component view);
}
